.search-autocomplete-item-contents {
    display: flex;
    gap: 8px;
    align-items: center;
    height: 28px;

    .name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-filter-pill--active,
    .search-filter-pill--more-filters {
        @include sm-only {
            display: none;
        }
        visibility: hidden;
    }
    > span:last-child,
    > span.search-filter-pill--more-filters {
        flex-shrink: 0;
    }
}

.search-autocomplete-item-contents__ellipsis {
    margin-left: -17px;
}

.search-autocomplete-item-contents__type-icon {
    @include autocomplete-item-icon;
    visibility: hidden;
}

.search-autocomplete-item-contents__query {
    @include body-3-medium;
    color: $blue-90;
    white-space: nowrap;
    &:not(:last-child) {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
